"The student in question was cooperative with police and school security," said borough police.
"At no time were any of the students or staff in danger, the student did not intend to harm anyone."
Police and school administrators are handling the incident, authorities said.
Daily Voice has reached out to William Penn School District for comment.
Click here to follow Daily Voice West Chester and receive free news updates.